package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.Rebate;
import org.apache.ibatis.annotations.Param;

public interface RebateMapper extends BaseMapper<Rebate> {

    Rebate getRebate(@Param("shopId")Long shopId,@Param("prodId")Long prodId);

    boolean saveData(@Param("rebate") Rebate rebate);
}
